<?php

require_once '../include/init.php';

$table = Agis::getTable('core@kind');

$result = array();

foreach ($table->fetchAll() as $row)
{
    $result[$row->id] = $row -> kind;
    
}

var_export($result);